home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-03
/
menuman.zip
/
MENUMAN.DOC
< prev
next >
Wrap
Text File
|
1992-04-06
|
7KB
|
161 lines
============================================================================
MENUMAN: EASY QUICKBASIC MENUS
COPYRIGHT, 1992
SALT AND LIGHT SOFTWARE
1525 LOCUST ST., READING, PA. 19604
============================================================================
MENUMAN was born out of frustration. I was tired of coding menu files
and forgetting "END SELECT" or rummaging around my source code files on disks
and looking for the proper way to do the INSTR function or flipping through
pages of books on QB programming on how to handle an error trap. So, I came up
with MENUMAN as a way to always put together a menu that would work and not
have to spend hours of programming.
MENUMAN will generate menus with selection by numbers. It also will
generate menus with selection by letters. The numbers selection has a limit
of 2 to 9 selections. The letters program has a limit of 2 to 12 selections.
The numbers program also will give the user a choice of eight different box
styles. The boxes will be automatically centered on the screen. The letters
program has more freedom in the selection of boxes or borders around a user's
menu selection. The user can use any of the 21 border suggestions to make a
box or employ any of the other ASCII characters. Each of the boxes in the
letters program is automatically adjusted to the number of menu selections.
Let's take a runthrough of the MENUMAN selection by numbers program:
First step: The options box will appear 20 seconds after the opening
screen. If you are creating a menu for the first time, strike No. "3" to
start MENUMAN. Each time you use MENUMAN, you will have the option of killing
the old "TESTMENU.BAS" file or renaming it. MENUMAN will dump your menu into
"TESTMENU" by appending the file. If "TESTMENU" isn't killed off before
dumping a new menu, you could have a slight problem.
WORD OF CAUTION
MAKE SURE THE TESTMENU.BAS FILE HAS BEEN SAVED IN
TEXT READABLE BY OTHER PROGRAMS OPTION ON THE
QUICKBASIC "SAVE AS" OPTIONS LIST. QBASIC USERS
NEEDN'T WORRY BECAUSE THEIR PROGRAMS ARE SAVED
IN ASCII.
Second step: Numbers 1 and 3 will take you to the box selection mode.
Choose a box style you like by striking its appropriate letter.
Third step: You will be asked for a title for your menu. I find titles
to be useful when working with a number of menus. Name the menu anything you
like. There is a limit of 22 characters in this option.
Fourth Step: MENUMAN will ask you how many menu selections (from 2
to 9) you would like included in the finished menu. Make a choice by entering
a number and each numbered entry will pop onto the screen after ENTER is
pressed. Type in your entries to cover the menu selections. For example:
≤ 1 ≥ WORDPERFECT UTILITY
≤ 2 ≥ NORTON UTILITY
Fifth step: MENUMAN will ask you again how many menu selections you
would like in your menu. This second question is needed to get the INSTR line
correct.
The process is now complete. MENUMAN'S ad box will appear for 30
seconds and then exit you to the QB environment. You have a little bit of
work to do before running your menu program. Information for the CASE SELECT
portion of the program must be filled in before it will run. Take a look
at "SAMPLE1.BAS", "SAMPLEA.BAS" and "RUNMENU.BAS" to see example of how to
fill in the CASE data. After this is done, you can then run "TESTMENU"
to see what your final program looks like.
The MENUMAN slection by letters program is different from the
selection by numbers program. The differences are these:
* Possibility of 2 to 12 items on a menu.
* Choice of border or box styles.
Here are the steps for the MENUMAN selection by letters program:
WORD OF CAUTION
MAKE SURE THE TESTMENU.BAS FILE HAS BEEN SAVED IN
TEXT READABLE BY OTHER PROGRAMS OPTION ON THE
QUICKBASIC "SAVE AS" OPTIONS LIST. QBASIC USERS
NEEDN'T WORRY BECAUSE THEIR PROGRAMS ARE SAVED
IN ASCII.
First step: The options box will appear 20 seconds after the opening
screen. If you are creating a menu for the first time, strike No. "3" to
start MENUMAN. Each time you use MENUMAN, you will have the option of killing
the old "TESTMENU.BAS" file or renaming it. MENUMAN will dump your menu into
"TESTMENU" by appending the file. If "TESTMENU" isn't killed off before
dumping a new menu, you could have a slight problem.
Second step: Letters "A" and "C" will take you to the border selection
mode. Choose a border style you like by entering its ASCII number. Remember
you have a wide choice here, so let your imagination run wild.
Third step: You will be asked for a title for your menu. I find titles
to be useful when working with a number of menus. Name the menu anything you
like. There is a limit of 78 characters in this option.
Fourth Step: MENUMAN will ask you how many menu selections (from 2
to 12) you would like included in the finished menu. Make a choice by entering
a number and each numbered entry will pop onto the screen after ENTER is
pressed. Type in your entries to cover the menu selections. For example:
A } WORDPERFECT UTILITY
B } NORTON UTILITY
The process is now complete. MENUMAN'S ad box will appear for 30
seconds and then exit you to the QB environment. You have a little bit of
work to do before running your menu program. Information for the CASE SELECT
portion of the program must be filled in before it will run. Take a look
at "SAMPLE1.BAS", "SAMPLEA.BAS" and "RUNMENU.BAS" to see example of how to
fill in the CASE data. After this is done, you can then run "TESTMENU"
to see what your final program looks like.
I am asking $10 for this programming effort. As any programmer
knows, a great deal of time goes into any program. The gestation period
usually isn't nine months but the labor pains can be memorable. Registered
users will receive other MENUMAN programs and updates on MENU1-9.BAS and
MENUA-L.BAS free of charge on the disk they desire you there are some cute baby MENUMANs on the drawing board.
Send all comments to me by one of these methods:
Through a letter or postcard to:
CARMEN PAONE
SALT AND LIGHT SOFTWARE
1525 LOCUST ST.
READING, PA. 19604
On Compuserve as CARMEN PAONE [72667, 42]
On Genie as C. PAONE
On Delphi as CARMENPAONE
One final word, no matter what decision you make on MENUMAN, do
yourself a soul-saving service and read John 3:16 in any Bible.